package com.linln.modules.shopsService.service;

import com.linln.modules.shopsService.domain.Shops;
import org.springframework.boot.configurationprocessor.json.JSONException;
import org.springframework.data.repository.query.Param;

import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.Map;

/**
 * @author : pengliang
 * @version V1.0
 * @Project: timo
 * @Package com.linln.modules.shopsService.service
 * @Descriptio /**
 * @Project: timo
 * @Package com.linln.modules.shopsService.service
 * @Description: TODO
 * @date Date : 2020年12月09日 15:17
 */
public interface ShopReviewedService {
    //通过审核状态获取店铺
    Map<String,Object> getShopsByStatus(Integer page,Integer limit,Integer status,String searchName);

    boolean reviewed(String shopId,Integer reviewedStatus,String reviewedOpinionText);


    String selectShopType(String shopId);

    List<Shops> getUpdateShopAudit(String searchName) throws JSONException, UnsupportedEncodingException;

    void reviewedUpdate(String shopId, boolean status) throws UnsupportedEncodingException;
}
